﻿using System;
using System.Windows.Forms;
using System.Threading;

namespace fm2
{
	internal sealed class Program
	{
		[STAThread]
		private static void Main(string[] args)
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			bool isFirstInstance;
			using (Mutex mtx = new Mutex(true, "fm.exe", out isFirstInstance)) {
				if (isFirstInstance) {
					Application.Run(new MainForm());
				}
			}
		}
	}
}
